package com.iplant.basic.service.po.fmc;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

@DBBasePO(TableName = "fmc_factory", CheckName = {"Code","Name"}, CodeAuto = true, CodePrefix = "FT-",Cache = true)
public class FMCFactory extends BasePO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 电话
	 */
	@DBField
	public String Telephone = "";
	
	/**
	 * 国家/地区
	 */
	@DBCondition(CompareType = DBCondition.DBCompareType.like)
	@DBField
	public String Country=""; 
	
	/**
	 * 省/市
	 */
	@DBCondition(CompareType = DBCondition.DBCompareType.like)
	@DBField
	public String Province=""; 
	/**
	 * 市/区
	 */
	@DBCondition(CompareType = DBCondition.DBCompareType.like)
	@DBField
	public String City=""; 
	/**
	 * 地址
	 */
	@DBField
	public String Address = "";

	/**
	 * 邮编
	 */
	@DBField
	public String PostalCode=""; 


	@JsonProperty("Address")
	public String getAddress() {
		return Address;
	}


	public void setAddress(String address) {
		Address = address;
	}


	@JsonProperty("Telephone")
	public String getTelephone() {
		return Telephone;
	}


	public void setTelephone(String telephone) {
		Telephone = telephone;
	}


	@JsonProperty("Country")
	public String getCountry() {
		return Country;
	}


	public void setCountry(String country) {
		Country = country;
	}


	@JsonProperty("Province")
	public String getProvince() {
		return Province;
	}


	public void setProvince(String province) {
		Province = province;
	}


	@JsonProperty("City")
	public String getCity() {
		return City;
	}


	public void setCity(String city) {
		City = city;
	}


	@JsonProperty("PostalCode")
	public String getPostalCode() {
		return PostalCode;
	}


	public void setPostalCode(String postalCode) {
		PostalCode = postalCode;
	}
	 
 
}
